8000 [css-shapes] more div->img changes · w3c/csswg-drafts@e0089b6 · GitHub
Skip to content

Commit e0089b6

Browse files
committed
[css-shapes] more div->img changes
1 parent 8b02d45 commit e0089b6

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

css-shapes/Overview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,13 @@ <h2 class="heading settled heading" data-level=2 id=relation-to-box-model-and-fl
291291

292292
<p> In the following example
293293
the left and right floating
294-
<code class=html>div</code> elements
294+
<code class=html>img</code> elements
295295
specify a triangular shape
296296
using the <a class=property data-link-type=propdesc href=#propdef-shape-outside title=shape-outside>shape-outside</a> property.
297297

298298
<pre><code class=css>
299-
&lt;img class="left" src="hand.svg"&gt;&lt;/img&gt;
300-
&lt;img class="right" src="hand.svg"&gt;&lt;/img&gt;
299+
&lt;img class="left" src="hand.svg"/&gt;
300+
&lt;img class="right" src="hand.svg"/&gt;
301301
&lt;p&gt;
302302
Sometimes a web page’s text content appears to be
303303
funneling your attention towards a spot on the page

css-shapes/Overview.src.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,13 +153,13 @@ <h2 id="relation-to-box-model-and-float-behavior">
153153

154154
In the following example
155155
the left and right floating
156-
<code class="html">div</code> elements
156+
<code class="html">img</code> elements
157157
specify a triangular shape
158158
using the 'shape-outside' property.
159159

160160
<pre><code class="css">
161-
&lt;img class="left" src="hand.svg"&gt;&lt;/img&gt;
162-
&lt;img class="right" src="hand.svg"&gt;&lt;/img&gt;
161+
&lt;img class="left" src="hand.svg"/&gt;
162+
&lt;img class="right" src="hand.svg"/&gt;
163163
&lt;p&gt;
164164
Sometimes a web page's text content appears to be
165165
funneling your attention towards a spot on the page

css-shapes/examples/example-6.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
width: 40%;
2020
height: 12ex;
2121
float: left;
22-
-webkit-transform: scaleX(-1);;
22+
-webkit-transform: scaleX(-1);
2323
}
2424

2525
.right {
@@ -32,8 +32,8 @@
3232
</style>
3333
</head>
3434
<body>
35-
<img class="left" src="hand.svg"></img>
36-
<img class="right" src="hand.svg"></img>
35+
<img class="left" src="hand.svg"/>
36+
<img class="right" src="hand.svg"/>
3737
<p class="focus">
3838
Sometimes a web page's text content appears to be
3939
funneling your attention towards a spot on the page

0 commit comments

Comments
 (0)