<?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>107416</bug_id>
          
          <creation_ts>2013-01-20 22:23:50 -0800</creation_ts>
          <short_desc>text-indent behaviour differs to Moz and Opera</short_desc>
          <delta_ts>2022-07-13 13:51:54 -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>Unspecified</rep_platform>
          <op_sys>Unspecified</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mike Lawther">mikelawther</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>syoichi</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>811813</commentid>
    <comment_count>0</comment_count>
    <who name="Mike Lawther">mikelawther</who>
    <bug_when>2013-01-20 22:23:50 -0800</bug_when>
    <thetext>With the attached test file

---
&lt;!DOCTYPE HTML&gt;
&lt;title&gt;intrinsic width of text-indent on blocks&lt;/title&gt;
&lt;style&gt;

body { font-size: 10px }
div { float: left; clear: left;
       margin: 0 0 1px 0; background: blue; color: white; height: 5px }
span { display: inline-block; width: 10px }

&lt;/style&gt;

&lt;div style=&quot;text-indent: 50%&quot;&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
----

WebKit&apos;s behaviour differs to Moz and Opera (Moz and Opera agree).

WebKit renders the div at 50% of the client width. Moz and Opera render it as 10px wide.

Note: this test was reduced from a Mozilla test case for CSS3 calc() (http://mxr.mozilla.org/mozilla-central/source/layout/reftests/w3c-css/submitted/values3/calc-text-indent-intrinsic-1.html?force=1). Credit to David Baron for the original test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>811814</commentid>
    <comment_count>1</comment_count>
      <attachid>183713</attachid>
    <who name="Mike Lawther">mikelawther</who>
    <bug_when>2013-01-20 22:24:20 -0800</bug_when>
    <thetext>Created attachment 183713
test file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1883291</commentid>
    <comment_count>2</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-13 13:51:54 -0700</bug_when>
    <thetext>Safari, Chrome, and Firefox all agree on rendering for this test case. I don&apos;t believe there is any remaining compatibility issue.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>183713</attachid>
            <date>2013-01-20 22:24:20 -0800</date>
            <delta_ts>2013-01-20 22:24:20 -0800</delta_ts>
            <desc>test file</desc>
            <filename>text-indent-intrinsic.html</filename>
            <type>text/html</type>
            <size>315</size>
            <attacher name="Mike Lawther">mikelawther</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+Cjx0aXRsZT5pbnRyaW5zaWMgd2lkdGggb2YgdGV4dC1pbmRlbnQgb24g
YmxvY2tzPC90aXRsZT4KPHN0eWxlPgoKYm9keSB7IGZvbnQtc2l6ZTogMTBweCB9CmRpdiB7IGZs
b2F0OiBsZWZ0OyBjbGVhcjogbGVmdDsKICAgICAgIG1hcmdpbjogMCAwIDFweCAwOyBiYWNrZ3Jv
dW5kOiBibHVlOyBjb2xvcjogd2hpdGU7IGhlaWdodDogNXB4IH0Kc3BhbiB7IGRpc3BsYXk6IGlu
bGluZS1ibG9jazsgd2lkdGg6IDEwcHggfQoKPC9zdHlsZT4KCjxkaXYgc3R5bGU9InRleHQtaW5k
ZW50OiA1MCUiPjxzcGFuPjwvc3Bhbj48L2Rpdj4K
</data>

          </attachment>
      

    </bug>

</bugzilla>