Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cf600d68403f383e2755725ad982c2e82dc1bd27
      
https://github.com/WebKit/WebKit/commit/cf600d68403f383e2755725ad982c2e82dc1bd27
  Author: Cameron McCormack <[email protected]>
  Date:   2022-12-02 (Fri, 02 Dec 2022)

  Changed paths:
    A LayoutTests/model-element/model-element-width-height-expected.txt
    A LayoutTests/model-element/model-element-width-height-visual-expected.html
    A LayoutTests/model-element/model-element-width-height-visual.html
    A LayoutTests/model-element/model-element-width-height.html
    M Source/WebCore/Modules/model-element/HTMLModelElement.cpp
    M Source/WebCore/Modules/model-element/HTMLModelElement.h
    M Source/WebCore/Modules/model-element/HTMLModelElement.idl

  Log Message:
  -----------
  Add width and height content attributes to <model>
https://bugs.webkit.org/show_bug.cgi?id=243974
rdar://99014926

Reviewed by Antoine Quint.

For consistency with <img> and <video>, <model> should have width and
height content attributes that set presentational style for the width
and height properties.

* LayoutTests/model-element/model-element-width-height-expected.txt: Added.
* LayoutTests/model-element/model-element-width-height-visual-expected.html: 
Added.
* LayoutTests/model-element/model-element-width-height-visual.html: Added.
* LayoutTests/model-element/model-element-width-height.html: Added.
* Source/WebCore/Modules/model-element/HTMLModelElement.cpp:
(WebCore::HTMLModelElement::collectPresentationalHintsForAttribute):
(WebCore::HTMLModelElement::hasPresentationalHintsForAttribute const):
* Source/WebCore/Modules/model-element/HTMLModelElement.h:
* Source/WebCore/Modules/model-element/HTMLModelElement.idl:

Canonical link: https://commits.webkit.org/257294@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to