Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 @font-face {
6 font-family: 'Fractional Test Font';
7 src: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAARYA A8AAAAABkAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAABWAAAABwAAAAcaiYUvEdERUYAAAF0A AAAHQAAACAANgAET1MvMgAAAZQAAABDAAAAVmNnigxjbWFwAAAB2AAAAF0AAAFiBZE3QWN2dCAAAAI4A AAABAAAAAQAIgHeZ2FzcAAAAjwAAAAIAAAACAAAABBnbHlmAAACRAAAAIIAAADYJD4CvGhlYWQAAALIA AAALgAAADYFHFlfaGhlYQAAAvgAAAAcAAAAJAwCA+JobXR4AAADFAAAACAAAAAkHH4ARGxvY2EAAAM0A AAAFAAAABQBBAFUbWF4cAAAA0gAAAAfAAAAIABNADluYW1lAAADaAAAALwAAAFmGiY2bHBvc3QAAAQkA AAALAAAAERyjlSJd2ViZgAABFAAAAAGAAAABtmyUs4AAAABAAAAAMw9os8AAAAAzvPnvAAAAADO9Iowe NpjYGRgYOADYgkGEGBiYARCDiBmAfMYAASiADsAAAB42mNgZJ7BOIGBlYGF1Yh1BgMDoxyEZr7GkMYkx MDAxMDKzAADjAxIICDNNYXBgYFX9Q8Lwx8gn4WBRQOmBgCDkwhaAHjaY2BgYGaAYBkGRgYQiAHyGMF8F gYHIM3DwMHABGTzMhgxmDBYqP75/x8oystgCOP9//b/8v9L/8/f4oGaAAeMbAxwIUYmqD0oChgwAQsrA 1AbAzvD8AAAUK4RAwAAAAAiAd4AAQAB//8AD3jaXcyxDcIwEIXh/85OnNYlHZagBQkqpJQehYIRGIU17 HlYgZ4iirAjkEyueu990qFE0KsFg+OQhOOYneV1Sn33HLPREkmmzl2ds+tlGrPU/eyD3wcfom7nnTzmm 2UimjsglDiw/GUjwQ9Lf/Mz25hdmTamK5PG5M++V+xiPhPUIhMAAHjaY2BkYGAA4t07ExfE89t8ZZDnY ACBc1+6DBH0HwYOBhYQl4OBCUQBAEFxCkoAAHjaY2BkYGBh+H2DgYGDAQSAJCMDKuAEADgzAfN42mN6w +DCAAQsQMy0ioGBA8YGYkYgZn7BwAAAPR4C3QAAACwALAAsACwAOgBIAFYAZABseNpjYGRgYOBk4GBgY gABEMnIABJzYNADCQAABQgAhwB42nWQyw7BUBCGv2oJGyuxPhFboiVxeQALSxHWJXVJGpKq9/AUHsITs PNIfu3pQsJi5nwz888lB6iyxcXxajg0wHKJuqKcXWa0LHu0iS2XaXK1XJH6Zvmh/N3ykx4vbUgI2ZBy4 MRRHDMnYsdFFKo6zfJp9ibKRxgCuuo2TGS/JuSVER18WSCtz+CP8nvbUlHC2SqM+j6bfnWupFyrkl9XK BfsNcvoX8Ks3zDOaoEu8hnK9+VNcdMbFM4ws3jaY2BiwA84gZiRgYmRiUGEQZRBnEGakZm9NC/TwMDAB UQbmbo5AwAwKgTbAAFSztmxAAA=) format('woff');
8 }
9 .shape-inside {
10 position: absolute;
11 top: 0;
12 left:0;
13 width: 100px;
14 height: 100px;
15 color: red;
16 font: 0.5em 'Fractional Test Font', serif;
17 -webkit-shape-inside: polygon(50px 0px, 100px 100px, 0px 100px);
18 }
19 .overlay {
20 position: absolute;
21 top: 0;
22 left:0;
23 width: 100px;
24 height: 100px;
25 background-color: green;
26 }
27 </style>
28 </head>
29 <body>
30 <div class="shape-inside">1111112<br/></div>
31 <div class="overlay"></div>
32
33 <p style="margin-top: 120px;">There is a triangle shape-inside applied on the gr een box.
34 The content should be inside the shape-inside. You should not see any red.</p>
35 <p>Issue <a href="https://code.google.com/p/chromium/issues/detail?id=333423">33 3423</a>: [CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding in some polygons</p>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698