Closed
Bug 1359301
Opened 9 years ago
Closed 9 years ago
width/height value from getComputedStyle for pseudo-element are not resolved value
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
DUPLICATE
of bug 1355351
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | affected |
People
(Reporter: xidorn, Unassigned)
Details
Attachments
(1 file)
|
481 bytes,
text/html
|
Details |
Steps to reproduce:
Open the attached testcase
Expected result:
The two dialogs should show the same content, which should be '60px' in this case.
Actual result:
The second dialog shows '30%'.
Per spec, getComputedStyle should return the used value for height/width and a bunch of other properties. Firefox returns the used value for normal elements, but computed value for pseudo-elements, which is inconsistent and wrong.
Blink and WebKit seem to correctly return the used value for pseudo-elements as well.
Updated•9 years ago
|
status-firefox55:
--- → affected
status-firefox57:
affected → ---
| Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•