gecko-dev/layout/inspector
Nicolas Chevobbe 8003c92d48 Bug 1882964 - [devtools] Turn getRuleBodyTextOffsets into getRuleBodyText for easier unicode chars handling. r=layout-reviewers,devtools-reviewers,emilio,ochameau.
`InspectorUtils.getRuleBodyTextOffset` was returning bytes position, and we
were using them directly in Javascript `substring`, which causes problem
with non-ascii chars.
Instead of returning offsets to compute the rule string, we directly return
the string from InspectorUtils which is easier to work with.

Differential Revision: https://phabricator.services.mozilla.com/D204523
2024-04-08 08:37:14 +00:00
..
tests Bug 1882964 - [devtools] Add InspectorUtils.replaceBlockRuleBodyTextInStylesheet. r=layout-reviewers,devtools-reviewers,emilio,ochameau. 2024-04-08 08:37:13 +00:00
inDeepTreeWalker.cpp
inDeepTreeWalker.h
inIDeepTreeWalker.idl
inLayoutUtils.cpp
inLayoutUtils.h
InspectorFontFace.cpp
InspectorFontFace.h
InspectorUtils.cpp Bug 1882964 - [devtools] Turn getRuleBodyTextOffsets into getRuleBodyText for easier unicode chars handling. r=layout-reviewers,devtools-reviewers,emilio,ochameau. 2024-04-08 08:37:14 +00:00
InspectorUtils.h Bug 1882964 - [devtools] Turn getRuleBodyTextOffsets into getRuleBodyText for easier unicode chars handling. r=layout-reviewers,devtools-reviewers,emilio,ochameau. 2024-04-08 08:37:14 +00:00
moz.build
ServoStyleRuleMap.cpp Bug 1889496 - Part 2: Implement CSSStartingStyleRule interface. r=webidl,firefox-style-system-reviewers,layout-reviewers,emilio 2024-04-05 21:03:07 +00:00
ServoStyleRuleMap.h