Felipe Erias abandoned this change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Bug: 507904199I split this out into issue 510840009.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Hello,
This CL fixes several Interop failures related to the computed values of counter-increment, counter-reset, and counter-set
Thank you for your review.
Best regards,
Felipe
I split this out into issue 510840009.
Thank you. I have assigned that bug to myself and updated the commit message here. Would it be possible for you to review the CL?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
break;nit: let's add default: NOTREACHED()
return base::WrapUnique(new CounterPropertyList(*this));optional nit: `return std::make_unique<CounterPropertyList>(*this);`
and below if you feel like
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
nit: let's add default: NOTREACHED()
That should not be necessary since missing cases without a default would result in compilation error.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
break;Rune Lillesveennit: let's add default: NOTREACHED()
That should not be necessary since missing cases without a default would result in compilation error.
Done.
return base::WrapUnique(new CounterPropertyList(*this));optional nit: `return std::make_unique<CounterPropertyList>(*this);`
and below if you feel like
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
break;Rune Lillesveennit: let's add default: NOTREACHED()
Felipe EriasThat should not be necessary since missing cases without a default would result in compilation error.
Done.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
break;Rune Lillesveennit: let's add default: NOTREACHED()
Felipe EriasThat should not be necessary since missing cases without a default would result in compilation error.
Rune LillesveenDone.
I don't think this should be added.
Removed.
Sorry, I didn't see your earlier comment before I updated the CL.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
break;Rune Lillesveennit: let's add default: NOTREACHED()
Felipe EriasThat should not be necessary since missing cases without a default would result in compilation error.
Rune LillesveenDone.
Felipe EriasI don't think this should be added.
Removed.
Sorry, I didn't see your earlier comment before I updated the CL.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Preserve order and duplicates in counter property computed values
The computed values of counter-increment, counter-reset, and counter-set
must serialize as the source list, including order and duplicates.
Blink served getComputedStyle() from CounterDirectiveMap, which is keyed
by counter name and collapses both.
Add a parallel CounterPropertyList per longhand that stores the complete
list, and serialize getComputedStyle() from it. CounterDirectiveMap
remains the collapsed view used by layout.
See: https://drafts.csswg.org/css-lists-3/
Tests:
- external/wpt/css/css-lists/parsing/counter-increment-computed.html
- external/wpt/css/css-lists/parsing/counter-reset-computed.html
- external/wpt/css/css-lists/parsing/counter-set-computed.html
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |