<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>281710</bug_id>
          
          <creation_ts>2024-10-17 18:15:07 -0700</creation_ts>
          <short_desc>Convert basic shapes types to strongly typed CSS/Style values</short_desc>
          <delta_ts>2024-10-31 10:26:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari 18</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>282127</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sam Weinig">sam</reporter>
          <assigned_to name="Sam Weinig">sam</assigned_to>
          <cc>achristensen</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2068968</commentid>
    <comment_count>0</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2024-10-17 18:15:07 -0700</bug_when>
    <thetext>Convert basic shapes types to strongly typed CSS/Style values.

A bit more complicated than gradient, will require bringing in blending support.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2069316</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2024-10-18 19:08:14 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35472</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070468</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-10-24 18:16:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/138601093&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070618</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-25 11:31:30 -0700</bug_when>
    <thetext>Committed 285708@main (4692eacc698b): &lt;https://commits.webkit.org/285708@main&gt;

Reviewed commits have been landed. Closing PR #35472 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070706</commentid>
    <comment_count>4</comment_count>
    <who name="Jonathan Bedard">jbedard</who>
    <bug_when>2024-10-25 21:09:06 -0700</bug_when>
    <thetext>Reopened Bugzilla.
REGRESSION (285708@main) Broke the macOS debug builds, tracking revert in https://bugs.webkit.org/show_bug.cgi?id=282127.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070713</commentid>
    <comment_count>5</comment_count>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2024-10-25 21:55:06 -0700</bug_when>
    <thetext>Could you please include this diff when re-landing?  It fixes TestWebKitAPI.IPCTestingAPI.SerializedTypeInfo:

diff --git a/Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in b/Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
index 693f675b06f6..e2e34bad5904 100644
--- a/Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
+++ b/Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
@@ -3127,15 +3127,15 @@ using WebCore::Style::LengthPercentagePointAll = WebCore::Style::Point&lt;WebCore::
 using WebCore::Style::LengthPercentagePointNonnegative = WebCore::Style::Point&lt;WebCore::Style::LengthPercentageNonnegative&gt;;
 
 [CustomHeader, Nested] struct WebCore::Style::CommaSeparatedVector&lt;WebCore::Style::LengthPercentagePointAll&gt; {
-    WebCore::Style::CommaSeparatedVector&lt;WebCore::Style::LengthPercentagePointAll&gt;::Vector value;
+    Vector&lt;WebCore::Style::LengthPercentagePointAll&gt; value;
 };
 [CustomHeader, Nested] struct WebCore::Style::CommaSeparatedVector&lt;WebCore::Style::LengthPercentagePointNonnegative&gt; {
-    WebCore::Style::CommaSeparatedVector&lt;WebCore::Style::LengthPercentagePointNonnegative&gt;::Vector value;
+    Vector&lt;WebCore::Style::LengthPercentagePointNonnegative&gt; value;
 };
 
 using WebCore::Style::ShapeCommand = std::variant&lt;WebCore::Style::MoveCommand, WebCore::Style::LineCommand, WebCore::Style::HLineCommand, WebCore::Style::VLineCommand, WebCore::Style::CurveCommand, WebCore::Style::SmoothCommand, WebCore::Style::ArcCommand, WebCore::Style::CloseCommand&gt;;
 [CustomHeader, Nested] struct WebCore::Style::CommaSeparatedVector&lt;WebCore::Style::ShapeCommand&gt; {
-    WebCore::Style::CommaSeparatedVector&lt;WebCore::Style::ShapeCommand&gt;::Vector value;
+    Vector&lt;WebCore::Style::ShapeCommand&gt; value;
 };
 
 header: &lt;WebCore/StylePosition.h&gt;
@@ -3345,6 +3345,7 @@ using WebCore::Style::CloseCommand = WebCore::Style::Constant&lt;WebCore::CSSValueC
     std::variant&lt;WebCore::Style::Large, WebCore::Style::Small&gt; arcSize;
     WebCore::Style::Angle&lt;WebCore::CSS::All&gt; rotation;
 };
+using WebCore::Style::LengthPercentageSizeAll = WebCore::Style::Size&lt;WebCore::Style::LengthPercentageAll&gt;
 
 header: &lt;WebCore/StyleBorderRadius.h&gt;
 [CustomHeader, Nested] struct WebCore::Style::BorderRadius {
@@ -7518,6 +7519,8 @@ header: &lt;WebCore/GraphicsContextState.h&gt;
     WebCore::GraphicsContextState::Purpose m_purpose;
 };
 
+enum class WebCore::WindRule : bool
+
 [AdditionalEncoder=StreamConnectionEncoder] struct WebCore::SourceBrushLogicalGradient {
     std::variant&lt;Ref&lt;WebCore::Gradient&gt;, WebCore::RenderingResourceIdentifier&gt; serializableGradient();
     WebCore::AffineTransform spaceTransform;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2070815</commentid>
    <comment_count>6</comment_count>
    <who name="Sam Weinig">sam</who>
    <bug_when>2024-10-27 09:20:35 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/35773</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2071908</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-10-31 10:26:02 -0700</bug_when>
    <thetext>Committed 285966@main (060102d7428f): &lt;https://commits.webkit.org/285966@main&gt;

Reviewed commits have been landed. Closing PR #35773 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>