Closed Bug 2014306 Opened 7 months ago Closed 4 months ago

[wpt-sync] Sync PR 57553 - Add test for the clear attribute presentational hints on BR elements

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 57553 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/57553
Details from upstream follow.

Psychpsyo <psychpsyo@gmail.com> wrote:

Add test for the clear attribute presentational hints on BR elements

This tests that these presentational hints from the spec are honored:

br[clear=left i] { clear: left; }
br[clear=right i] { clear: right; }
br[clear=all i], br[clear=both i] { clear: both; }

Written as part of the Ladybird project, should pass in all browsers.
Also, bonus example page where this behavior is used: https://archive.org/details/mspaint_xp_version

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 7 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/92a4c8d9de63 https://hg.mozilla.org/integration/autoland/rev/06628555314e [wpt PR 57553] - Add test for the clear attribute presentational hints on BR elements, a=testonly
Status: NEW → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch

Authored by https://github.com/Psychpsyo
https://github.com/mozilla/enterprise-firefox/commit/92a4c8d9de630b5db3c9af1f5f9cc7b20ae64c5c
[enterprise-main] Bug 2014306 [wpt PR 57553] - Add test for the clear attribute presentational hints on BR elements, a=testonly

You need to log in before you can comment on or make changes to this bug.