summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/StylePropertiesModel.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@gmail.com>2021-07-30 17:06:48 +0100
committerAli Mohammad Pur <Ali.mpfard@gmail.com>2021-08-02 19:01:25 +0430
commiteadcdd21e3367f4a3c0a4376099fca69d856b37c (patch)
tree6826e8085f2d02572df094c26add18863d79c9ce /Userland/Libraries/LibWeb/StylePropertiesModel.cpp
parentf4b3ab19c0118d1b77bd0eaa4050b451356bf367 (diff)
downloadserenity-eadcdd21e3367f4a3c0a4376099fca69d856b37c.zip
LibWeb: Clarify naming and publicity of CSS Parser methods
`parse_as_foo()` implies that the Parser's internal data is used, whereas `parse_a_foo()` implies that the passed-in data is used. Also, made all the `parse_a_foo()` methods private, as they are only required within the Parser, and this makes the API clearer to outsiders. The `parse_a(s)_foo()` naming is a little awkward, but it comes from section 5.3 of the spec, so seemed worth keeping: https://www.w3.org/TR/css-syntax-3/#parser-entry-points
Diffstat (limited to 'Userland/Libraries/LibWeb/StylePropertiesModel.cpp')
0 files changed, 0 insertions, 0 deletions