Closed MunishMummadi closed 3 months ago
I forgot to check it clearly. Sorry I will update it.
@Loirooriol Does the changes meet expectations!!!
Hey @Loirooriol .Sorry for the delay. I don't know whether I am going in the correct direction or not. Here is the revised version of the code. Let me know what do you think. Edit: Removed Code
I can't review like that, please just update the PR.
I am really Sorry for making you feel like that. I can strongly say that I haven't used any AI for writing the code. Thank You.
Changes Made:
Updated the
sub_properties
attribute of thetext-decoration
shorthand to includetext-decoration-style
andtext-decoration-color
for the Servo engine.Modified the
parse_value
function to parsetext-decoration-style
andtext-decoration-color
properties when the engine is Servo. The parsed values are stored in thestyle
andcolor
variables, respectively.Updated the
ToCss
implementation to serializetext-decoration-style
andtext-decoration-color
properties for the Servo engine.These changes ensure that the
text-decoration
shorthand in Servo correctly parses and serializes thetext-decoration-style
andtext-decoration-color
properties, providing a complete implementation of the shorthand.Resolves: #25