mirror of
https://github.com/servo/servo.git
synced 2025-08-16 19:05:33 +01:00
Update web-platform-tests to revision 3564c21f260aeb6862ceaa56bee9c39b74db3440
This commit is contained in:
parent
78438113d4
commit
555167ffdb
141 changed files with 3095 additions and 1280 deletions
|
@ -251,13 +251,20 @@
|
|||
data-expected-width="338" data-expected-height="182" data-offset-y="11" data-offset-x="59"
|
||||
>
|
||||
</div>
|
||||
<!-- Just viewbox. Has aspect_ration, but no intrinsic size
|
||||
<!-- Just viewbox. Has aspect_ratio, but no intrinsic size
|
||||
inline_width defaults to container width -->
|
||||
<div class="container">
|
||||
<img class="target" src="data:image/svg+xml,%3Csvg viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg' %3E%3Crect width='100%' height='100%' style='fill:rgb(0,255,0);'/%3E%3C/svg%3E"
|
||||
data-expected-width="388" data-expected-height="67" data-offset-y="126" data-offset-x="9"
|
||||
>
|
||||
</div>
|
||||
<!-- Just viewbox. Has aspect_ratio, but no intrinsic size
|
||||
inline_width is constrained by left/right, height computed proportionally -->
|
||||
<div class="container">
|
||||
<img class="target" style="left:100px;right:100px" src="data:image/svg+xml,%3Csvg viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg' %3E%3Crect width='100%' height='100%' style='fill:rgb(0,255,0);'/%3E%3C/svg%3E"
|
||||
data-expected-width="188" data-expected-height="47" data-offset-y="146" data-offset-x="109"
|
||||
>
|
||||
</div>
|
||||
<!-- Viewbox + svg width. Has aspect_ratio and width. Height is scaled -->
|
||||
<div class="container">
|
||||
<img class="target" src="data:image/svg+xml,%3Csvg viewBox='0 0 100 10' width='100px' xmlns='http://www.w3.org/2000/svg' %3E%3Crect width='100%' height='100%' style='fill:rgb(0,255,0);'/%3E%3C/svg%3E"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue