Closed
Bug 127658
Opened 23 years ago
Closed 23 years ago
getComputedStyle(element, 'fist:letter') doesn't give the correct result
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: martin.honnen, Assigned: bzbarsky)
Details
(Keywords: qawanted)
Attachments
(1 file, 1 obsolete file)
The
window.getComputedStyle
method takes two arguments where I think the second can be a string for a CSS
pseudo element like
first-letter
However for a simple test case I am going to attach Mozilla returns the same value
whether I pass in '' or 'first-letter' as the second argument although for the
element passed in there is first-letter style rule.
Reporter | ||
Comment 1•23 years ago
|
||
![]() |
Assignee | |
Comment 3•23 years ago
|
||
The first testcase never actually passed the pseudo to getComputedStyle
Attachment #71301 -
Attachment is obsolete: true
![]() |
Assignee | |
Comment 4•23 years ago
|
||
That said, we seem to require the ":" in the pseudo-element name... The spec is
pretty unclear on that issue, but it seems like we should just add the color if
it's not there (since all pseudoelement names have to begin with a single colon).
Ian, what do you think?
Keywords: qawanted
![]() |
Assignee | |
Comment 5•23 years ago
|
||
Ian talked to the WG and they say the ":" should be required in the string (or
"::" for CSS3-only pseudos). Marking invalid.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•