Skip to content

Commit

Permalink
automatic commit (source date 2024-12-12)
Browse files Browse the repository at this point in the history
  • Loading branch information
momdo committed Dec 12, 2024
1 parent 6d36085 commit 1e8db1b
Show file tree
Hide file tree
Showing 123 changed files with 993 additions and 915 deletions.
6 changes: 3 additions & 3 deletions html/acknowledgements.html

Large diffs are not rendered by default.

30 changes: 23 additions & 7 deletions html/browsers.html

Large diffs are not rendered by default.

108 changes: 54 additions & 54 deletions html/browsing-the-web.html

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions html/canvas.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html><html class="split" lang="ja"><script src="https://html.spec.whatwg.org/link-fixup.js" defer=""></script><meta charset="UTF-8"><meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"><title>HTML Standard 日本語訳</title><meta content="#3c790a" name="theme-color"><meta content="light dark" name="color-scheme"><link rel="stylesheet" href="https://resources.whatwg.org/standard-shared-with-dev.css" crossorigin=""><link rel="stylesheet" href="https://resources.whatwg.org/standard.css" crossorigin=""><link rel="stylesheet" href="https://resources.whatwg.org/spec.css" crossorigin=""><link rel="icon" href="https://resources.whatwg.org/logo.svg" crossorigin=""><link rel="stylesheet" href="/styles.css" crossorigin=""><script>
<!DOCTYPE html><html class="split" lang="ja"><script src="https://html.spec.whatwg.org/link-fixup.js" defer=""></script><meta charset="UTF-8"><meta content="width=device-width, initial-scale=1, shrink-to-fit=no" name="viewport"><title>HTML Standard 日本語訳</title><meta content="#3c790a" name="theme-color"><meta content="light dark" name="color-scheme"><link rel="stylesheet" href="https://resources.whatwg.org/standard-shared-with-dev.css" crossorigin=""><link rel="stylesheet" href="https://resources.whatwg.org/standard.css" crossorigin=""><link rel="stylesheet" href="https://resources.whatwg.org/spec.css" crossorigin=""><link rel="icon" href="https://resources.whatwg.org/logo.svg" crossorigin=""><link rel="stylesheet" href="https://html.spec.whatwg.org/styles.css" crossorigin=""><script>
function toggleStatus(div) {
div.parentNode.classList.toggle('wrapped');
}
Expand All @@ -9,7 +9,7 @@

<script defer="" crossorigin="" src="./html-dfn.js"></script>

<header id="head" class="head with-buttons"><a href="https://whatwg.org/" class="logo"><img width="100" alt="WHATWG" crossorigin="" class="darkmode-aware" src="https://resources.whatwg.org/logo.svg" height="100"></a><hgroup><h1 class="allcaps">HTML</h1><p id="living-standard">Living Standard — Last Updated <span class="pubdate">6 December 2024</span></hgroup>
<header id="head" class="head with-buttons"><a href="https://whatwg.org/" class="logo"><img width="100" alt="WHATWG" crossorigin="" class="darkmode-aware" src="https://resources.whatwg.org/logo.svg" height="100"></a><hgroup><h1 class="allcaps">HTML</h1><p id="living-standard">Living Standard — Last Updated <span class="pubdate">12 December 2024</span></hgroup>



Expand Down Expand Up @@ -573,7 +573,7 @@ <h5 id="2dcontext"><span class="secno">4.12.5.1</span> The 2D rendering context<

<h6 id="implementation-notes"><span class="secno">4.12.5.1.1</span> Implementation notes<a href="#implementation-notes" class="self-link"></a></h6>

<p><i>This section is non-normative.</i></p>
<p><i>この節は非規範的である。</i></p>

<p>The <a href="#output-bitmap" id="implementation-notes:output-bitmap">output bitmap</a>, when it is not directly displayed by the user agent, implementations can, instead of updating this bitmap, merely remember the sequence of drawing operations that have been applied to it until such time as the bitmap's actual data is needed (for example because of a call to <code id="implementation-notes:dom-context-2d-drawimage"><a href="#dom-context-2d-drawimage">drawImage()</a></code>, or the <code id="implementation-notes:dom-createimagebitmap"><a href="imagebitmap-and-animations.html#dom-createimagebitmap">createImageBitmap()</a></code> factory method). In many cases, this will be more memory efficient.</p>

Expand Down Expand Up @@ -2044,7 +2044,7 @@ <h6 id="filters"><span class="secno">4.12.5.1.19</span> Filters<a href="#filters

<h6 id="working-with-externally-defined-svg-filters"><span class="secno">4.12.5.1.20</span> Working with externally-defined SVG filters<a href="#working-with-externally-defined-svg-filters" class="self-link"></a></h6>

<p><i>This section is non-normative.</i></p>
<p><i>この節は非規範的である。</i></p>

<p>Since drawing is performed using filter value "<code>none</code>" until an externally-defined filter has finished loading, authors might wish to determine whether such a filter has finished loading before proceeding with a drawing operation. One way to accomplish this is to load the externally-defined filter elsewhere within the same page in some element that sends a <code>load</code> event (for example, an <a id="working-with-externally-defined-svg-filters:svg-use" href="https://svgwg.org/svg2-draft/struct.html#UseElement" data-x-internal="svg-use">SVG <code>use</code></a> element), and wait for the <code>load</code> event to be dispatched.</p>

Expand Down Expand Up @@ -2081,7 +2081,7 @@ <h6 id="best-practices"><span class="secno">4.12.5.1.22</span> Best practices<a

<h6 id="examples"><span class="secno">4.12.5.1.23</span> Examples<a href="#examples" class="self-link"></a></h6>

<p><i>This section is non-normative.</i></p>
<p><i>この節は非規範的である。</i></p>

<div class="example"><p>Here is an example of a script that uses canvas to draw <a href="data:text/html;charset=utf-8;base64,PCFET0NUWVBFIEhUTUw%2BDQo8aHRtbCBsYW5nPSJlbiI%2BDQogPGhlYWQ%2BDQogIDx0aXRsZT5QcmV0dHkgR2xvd2luZyBMaW5lczwvdGl0bGU%2BDQogPC9oZWFkPg0KIDxib2R5Pg0KPGNhbnZhcyB3aWR0aD0iODAwIiBoZWlnaHQ9IjQ1MCI%2BPC9jYW52YXM%2BDQo8c2NyaXB0Pg0KDQogdmFyIGNvbnRleHQgPSBkb2N1bWVudC5nZXRFbGVtZW50c0J5VGFnTmFtZSgnY2FudmFzJylbMF0uZ2V0Q29udGV4dCgnMmQnKTsNCg0KIHZhciBsYXN0WCA9IGNvbnRleHQuY2FudmFzLndpZHRoICogTWF0aC5yYW5kb20oKTsNCiB2YXIgbGFzdFkgPSBjb250ZXh0LmNhbnZhcy5oZWlnaHQgKiBNYXRoLnJhbmRvbSgpOw0KIHZhciBodWUgPSAwOw0KIGZ1bmN0aW9uIGxpbmUoKSB7DQogICBjb250ZXh0LnNhdmUoKTsNCiAgIGNvbnRleHQudHJhbnNsYXRlKGNvbnRleHQuY2FudmFzLndpZHRoLzIsIGNvbnRleHQuY2FudmFzLmhlaWdodC8yKTsNCiAgIGNvbnRleHQuc2NhbGUo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hbmsoKSB7DQogICBjb250ZXh0LmZpbGxTdHlsZSA9ICdyZ2JhKDAsMCwwLDAuMSknOw0KICAgY29udGV4dC5maWxsUmVjdCgwLCAwLCBjb250ZXh0LmNhbnZhcy53aWR0aCwgY29udGV4dC5jYW52YXMuaGVpZ2h0KTsNCiB9DQogc2V0SW50ZXJ2YWwoYmxhbmssIDQwKTsNCg0KPC9zY3JpcHQ%2BDQogPC9ib2R5Pg0KPC9odG1sPg0K">pretty glowing lines</a>.</p>

Expand Down Expand Up @@ -2609,7 +2609,7 @@ <h5 id="serialising-bitmaps-to-a-file"><span class="secno">4.12.5.5</span> Seria

<h5 id="security-with-canvas-elements"><span class="secno">4.12.5.6</span> Security with <code id="security-with-canvas-elements:the-canvas-element"><a href="#the-canvas-element">canvas</a></code> elements<a href="#security-with-canvas-elements" class="self-link"></a></h5>

<p><i>This section is non-normative.</i></p>
<p><i>この節は非規範的である。</i></p>

<p><strong>Information leakage</strong> can occur if scripts from one <a id="security-with-canvas-elements:concept-origin" href="browsers.html#concept-origin">origin</a> can access information (e.g. read pixels) from images from another origin (one that isn't the <a href="browsers.html#same-origin" id="security-with-canvas-elements:same-origin">same</a>).</p>

Expand Down
Loading

0 comments on commit 1e8db1b

Please sign in to comment.