web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
4.79k stars 2.99k forks source link

Fix content property tests in css/css-page/margin-boxes/ for Mac. #46937

Closed chromium-wpt-export-bot closed 4 days ago

chromium-wpt-export-bot commented 4 days ago

Use the content property in the refs as well as in the test, to better match what the tests do. Also set a fixed width in content-001-print.html , because we cannot assume that the width of "PASS" is the same as the width of "PA" "SS".

These test are currently only run as part of virtual/page-margin-boxes/ which is only run on Linux, so it wasn't detected when landing the tests.

Bug: 40341678 Change-Id: I9550343d2ce9a9c710885f2502e833909622d39a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5663175 Commit-Queue: Morten Stenshorne \mstensho@chromium.org Reviewed-by: Ian Kilpatrick \ikilpatrick@chromium.org Cr-Commit-Position: refs/heads/main@{#1321112}