Closed
Bug 1344547
Opened 8 years ago
Closed 8 years ago
::first-letter style isn't applied if it is added after load via Javascript
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: fabs.pim, Unassigned)
Details
(Keywords: testcase)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36
Steps to reproduce:
I'm adding a class to a paragraph via javascript, which should apply ::first-letter styling to the first letter of this tag.
Example: http://codepen.io/fabianpimminger/pen/Ppzyzv
Actual results:
The styling is not applied. (see third paragraph in the example)
It is working if the class is already assigned to the paragraph in html. (see second paragraph in the example)
Expected results:
The styling should also be applied to the paragraph when the class is added via javascript.
Status: UNCONFIRMED → NEW
Component: Untriaged → Layout
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
Updated•8 years ago
|
Component: Layout → CSS Parsing and Computation
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•