<?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>146610</bug_id>
          
          <creation_ts>2015-07-04 08:19:14 -0700</creation_ts>
          <short_desc>CSS rule with capital letter in &lt;link rel=import&gt; is ignored</short_desc>
          <delta_ts>2022-07-24 13:51:23 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 8</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kurt Cho">kivoloid</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>benjamin</cc>
    
    <cc>bfulgham</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1106858</commentid>
    <comment_count>0</comment_count>
    <who name="Kurt Cho">kivoloid</who>
    <bug_when>2015-07-04 08:19:14 -0700</bug_when>
    <thetext>The CSS rules with capital letter in &lt;link rel=import&gt; seems to be ignored in WebKit. For example, the CSS rule &quot;.foo .barWithCapital&quot; is not applied to the document, unlike the other rules in the code below.

&lt;!-- test.html --&gt;
&lt;html&gt;
	&lt;head&gt;
		&lt;link rel=&quot;import&quot; href=&quot;/out/test-library.html&quot;&gt;
	&lt;/head&gt;
	&lt;body&gt;
		&lt;div class=&quot;foo&quot;&gt;
			&lt;input class=&quot;barwithoutcapital barWithCapital&quot; /&gt;
		&lt;/div&gt;
	&lt;/body&gt;
&lt;/html&gt;

&lt;!-- test-library.html --&gt;
&lt;style&gt;
	.foo * {
		position: relative;
	}

	.foo input {
		top: 30px;
	}

	.foo .barWithCapital {
		left: 20px;
	}

	.foo .barwithoutcapital {
		border: 2px solid black;
	}
&lt;/style&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886373</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-24 10:50:55 -0700</bug_when>
    <thetext>I am unable to reproduce this bug in Safari 15.6 on macOS 12.5 using test case mentioned in Comment 0 and changed into following JSFiddle:

Link - https://jsfiddle.net/t1hysm3p/show

Safari 15.6 matches with other browsers (Chrome Canary 106 and Firefox Nightly 104) and show the input 20px left side and can be seen in &quot;Computed&quot; from Developer Tools as well.

Since all browsers are matching with each other, I think this can be considered as &quot;RESOLVED WONTFIX&quot; or &quot;RESOLVED INVALID&quot; or &quot;RESOLVED CONFIGURATION CHANGED&quot; or accordingly. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>