Skip to content

Commit e9bb817

Browse files
committed
[css-writing-modes] DoC Issue 38. SVG and writing-mode
1 parent 7abcb0e commit e9bb817

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

css-writing-modes/Overview.bs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -949,6 +949,18 @@ SVG1.1 'writing-mode' Values</h4>
949949
on whether this process causes "writing-mode: rl" to merely shift the
950950
text string or reverse the order of all glyphs in the text.</p>
951951

952+
<div class="note" id="embedded-svg-inheritance">
953+
<p>As all other CSS properties do,
954+
the 'writing-mode' property inherits to embedeed inline SVG elements.
955+
This could cause unintentional side effects when, for example,
956+
an SVG designed only for horizontal flow was embedded inline into a vertical flow document.
957+
958+
<p>Authors can prevent this from happening by adding the following rule:
959+
<div class="example">
960+
<pre>svg { writing-mode: initial; }</pre>
961+
</div>
962+
</div>
963+
952964
<h2 id="inline-alignment">
953965
Inline-level Alignment</h2>
954966

css-writing-modes/issues-cr-2014.bs-issues

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,9 @@ Issue 38.
305305
Summary: [css-writing-modes][svg] SVG and writing-mode
306306
From: Koji Ishii
307307
Comment: http://lists.w3.org/Archives/Public/www-style/2015May/0092.html
308-
Open: Needs clarifying edits
309308
Resolved: https://lists.w3.org/Archives/Public/www-style/2015May/0313.html
309+
Closed: Accepted
310+
Resolved: Editorial
310311
----
311312
Issue 39.
312313
Summary: Confused testcase

css-writing-modes/issues-cr-2014.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,13 +365,14 @@ <h1>CSS Writing Modes Level 3 Disposition of Comments for 2014-03-20 CR</h1>
365365
Closed: Accepted
366366
Resolved: Editorial
367367
</pre>
368-
<pre class='open' id='issue-38'>
368+
<pre class='a' id='issue-38'>
369369
Issue 38. <a href='#issue-38'>#</a>
370370
Summary: [css-writing-modes][svg] SVG and writing-mode
371371
From: Koji Ishii
372372
Comment: <a href='http://lists.w3.org/Archives/Public/www-style/2015May/0092.html'>http://lists.w3.org/Archives/Public/www-style/2015May/0092.html</a>
373-
Open: Needs clarifying edits
374373
Resolved: <a href='https://lists.w3.org/Archives/Public/www-style/2015May/0313.html'>https://lists.w3.org/Archives/Public/www-style/2015May/0313.html</a>
374+
Closed: Accepted
375+
Resolved: Editorial
375376
</pre>
376377
<pre class='oi' id='issue-39'>
377378
Issue 39. <a href='#issue-39'>#</a>

0 commit comments

Comments
 (0)