mirror of
https://github.com/servo/servo.git
synced 2025-10-02 17:49:16 +01:00
html: Count <image> attributes state changes as the relevant mutations (#39483)
Follow the HTML specification and take into account that state changes of the <image> 'crossorigin' and 'referrerpolicy' content attributes (not 'crossOrigin' and 'referrerPolicy' IDL attributes) should be counted as relevant mutations. See https://html.spec.whatwg.org/multipage/#relevant-mutations Testing: Improvements in the following tests - html/dom/reflection-embedded.html - html/semantics/embedded-content/the-img-element/relevant-mutations.html Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
This commit is contained in:
parent
aaa7f83176
commit
af74db4e92
6 changed files with 96 additions and 245 deletions
|
@ -394,7 +394,7 @@ DOMInterfaces = {
|
|||
},
|
||||
|
||||
'HTMLImageElement': {
|
||||
'canGc': ['RequestSubmit', 'ReportValidity', 'Reset','SetRel', 'Decode', 'SetCrossOrigin', 'SetWidth', 'SetHeight', 'SetReferrerPolicy'],
|
||||
'canGc': ['RequestSubmit', 'ReportValidity', 'Reset','SetRel', 'Decode', 'SetCrossOrigin', 'SetWidth', 'SetHeight'],
|
||||
},
|
||||
|
||||
'HTMLInputElement': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue