diff options
author | Sam Atkins <atkinssj@gmail.com> | 2021-07-30 17:06:48 +0100 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-08-02 19:01:25 +0430 |
commit | eadcdd21e3367f4a3c0a4376099fca69d856b37c (patch) | |
tree | 6826e8085f2d02572df094c26add18863d79c9ce /Userland/Libraries/LibWeb/StylePropertiesModel.cpp | |
parent | f4b3ab19c0118d1b77bd0eaa4050b451356bf367 (diff) | |
download | serenity-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