Inline tag br accepts margin styling
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: john, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(2 files)
Updated•7 years ago
|
Updated•2 years ago
|
Comment 2•9 months ago
|
||
Here's a testcase showing the issue a bit more clearly.
This isn't related to selector matching, but rather whether br
elements do anything with margins that are explicitly applied to it. In Firefox, those margins do get honored. In other browsers, those margins seem to get ignored.
Comment 3•9 months ago
|
||
Marking as 'New' (i.e. confirmed) since there's a valid interop issue here (Firefox disagrees with Blink/WebKit). The interop situation in general around applying styles to br
is a bit hazy, though (see e.g. bug 1547246 for other br styles having varying impact in Firefox vs. other browsers), and I'm not sure this behavior is well-specified.
Comment 4•9 months ago
|
||
Ah, it seems we have bug 1621387 filed on this too, which has a bit more discussion and a spec issue associated with it. So even though this one's older, it's maybe best to use that as the canonical spot for this bug at this point.
Description
•