mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision daac9dc806e9571ea856253fcc35a94e73d4f711
This commit is contained in:
parent
1318ea9d02
commit
393fa37c0b
67 changed files with 1485 additions and 146 deletions
|
@ -261,7 +261,14 @@
|
|||
<!-- 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"
|
||||
<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>
|
||||
<!-- Same as previous test, but with max-width:fit-content. crbug.com/1010798
|
||||
-->
|
||||
<div class="container">
|
||||
<img class="target" style="left:100px;right:100px;max-width:fit-content" 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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue