[webkit-changes] [WebKit/WebKit] 719db0: Remove 'KHTMLNowrap' and 'CSSValueWebkitNowrap' si...

EWS noreply at github.com
Fri Sep 16 07:32:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 719db0d99a39280060b235660b6512b4c354b762
      https://github.com/WebKit/WebKit/commit/719db0d99a39280060b235660b6512b4c354b762
  Author: Ahmad Saleem <ahmad.saleem792 at gmail.com>
  Date:   2022-09-16 (Fri, 16 Sep 2022)

  Changed paths:
    M LayoutTests/fast/table/td-display-nowrap-expected.txt
    M LayoutTests/fast/table/td-display-nowrap.html
    M Source/WebCore/css/CSSPrimitiveValueMappings.h
    M Source/WebCore/css/CSSValueKeywords.in
    M Source/WebCore/rendering/style/RenderStyleConstants.cpp
    M Source/WebCore/rendering/style/RenderStyleConstants.h

  Log Message:
  -----------
  Remove 'KHTMLNowrap' and 'CSSValueWebkitNowrap' since now it is not used after Tables Quirk

Remove 'KHTMLNowrap' and 'CSSValueWebkitNowrap' since now it is not used after Tables Quirk

https://bugs.webkit.org/show_bug.cgi?id=245211

Reviewed by Tim Nguyen.

KHTML-Nowrap is not used anymore and no other browser engine support it. This was used in the Tables Quirk, which is now removed as well to follow other browser engines and lack of any internal use. I am going to remove and any website leveraging on khtml-nowrap would render similar to other browser engines.

* Source/WebCore/css/CSSPrimitiveValueMappings.h: Remove cases about KHTMLNowrap and CSSValueWebkitNowrap
* Source/WebCore/rendering/style/RenderStyleConstants.cpp: Remove case about "khtml-nowrap"
* Source/WebCore/rendering/style/RenderStyleConstants.h: Remove KHTMLNowrap from 'Whitespace' class
* Source/WebCore/css/CSSValueKeywords.in: Remove '-webkit-nowrap'
* LayoutTests/fast/table/td-display-nowrap.html: Update test to use 'nowrap'
* LayoutTests/fast/table/td-display-nowrap-expected.txt: Update Test Expectations

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




More information about the webkit-changes mailing list