[Gap Decorations]: Parsing the column-rule-width
property
This CL updates the parsing of the column-rule-width
property to
support the CSS Gap Decorations syntax1. To achieve this, a new type
is added to the CSSGapDecorationPropertyType
enum to represent the
width property. Following this, the ConsumeLineWidth
is called when
handling the width case in ConsumeGapDecorationPropertyValue
.
This CL includes tests to exercise the newly added code.
Some related tests have been added to the TestExpectations file, as
they currently fail due to the new grammar. These failures occur when
attempting to convert the newly supported CSSValue to the ComputedStyle
type. This issue will be addressed in crrev.com/c/5967393, which
introduces the new ColumnRuleWidth on ComputedStyles.
Bug: 357648037
Change-Id: I712dd2f1bd9a3532e698a9d1f354602dc70a277f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5963080
Reviewed-by: Kevin Babbitt kbabbitt@microsoft.com
Commit-Queue: Sam Davis Omekara samomekarajr@microsoft.com
Reviewed-by: Alison Maher almaher@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1383249}