<?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>48936</bug_id>
          
          <creation_ts>2010-11-03 11:19:26 -0700</creation_ts>
          <short_desc>The underline position for Japanese/Korean vertical text is wrong.</short_desc>
          <delta_ts>2024-07-22 23:46: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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>245559</dup_id>
          
          <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>
          
          <blocked>46123</blocked>
    
    <blocked>49408</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Hyatt">hyatt</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>browserbugs2</cc>
    
    <cc>eoconnor</cc>
    
    <cc>itshustletime</cc>
    
    <cc>joone</cc>
    
    <cc>karlcow</cc>
    
    <cc>kojii</cc>
    
    <cc>nanto</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>304136</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2010-11-03 11:19:26 -0700</bug_when>
    <thetext>The underline position for Japanese/Korean vertical text is wrong.  Horizontal text uses an alphabetic baseline as the basis for the underline&apos;s position, but this is incorrect for Japanese vertical text.  In that case the underline needs to be to the left of the glyphs themselves (past the descent).

This could get tricky to implement given that vertical metrics on OS X are including the leading in the descent value.  We may have to operate using glyph bounds, since we know the glyphs are square.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>356281</commentid>
    <comment_count>1</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2011-02-23 12:02:35 -0800</bug_when>
    <thetext>This problem was fixed, but apparently underlines should be on the right side.  There&apos;s a new property to control this in CSS3.  Keeping this open to track that issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559752</commentid>
    <comment_count>2</comment_count>
    <who name="Koji Ishii">kojii</who>
    <bug_when>2012-02-18 01:29:55 -0800</bug_when>
    <thetext>I&apos;ve checked in some small changes to the spec and hope that section is pretty stable now. We editors are hoping to target LC in March if no further issues come up and if WG agrees.

ED is at: http://dev.w3.org/csswg/css3-text/#text-underline-position</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1191344</commentid>
    <comment_count>3</comment_count>
    <who name="Gérard Talbot (no longer involved)">browserbugs2</who>
    <bug_when>2016-05-09 15:39:31 -0700</bug_when>
    <thetext>DHTML Tests
-----------

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/text-decoration-DHTML.xht


http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/text-decoration-position-sample-dhtml.html



HTML Tests
----------

with writing-mode: vertical-lr
- - - - - - - - - - - - - - - 

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-sideways-vlr-003.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-sideways-vlr-005.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-sideways-vlr-007.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-upright-vlr-003.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-upright-vlr-005.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-upright-vlr-007.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-underline-font-size-vlr-003.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-underline-font-size-vlr-005.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-underline-mixed-vlr-003.xht


with writing-mode: vertical-rl
- - - - - - - - - - - - - - - 

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-sideways-vrl-002.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-sideways-vrl-004.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-sideways-vrl-006.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-upright-vrl-002.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-upright-vrl-004.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-text-decoration-upright-vrl-006.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-underline-font-size-vrl-002.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-underline-font-size-vrl-004.xht

http://www.gtalbot.org/BrowserBugsSection/CSS3WritingModes/s75-underline-mixed-vrl-002.xht


All those tests have been submitted to W3C Writing-Mode Test suite, except the DHTML tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1424716</commentid>
    <comment_count>4</comment_count>
    <who name="nanto_vi (TOYAMA Nao)">nanto</who>
    <bug_when>2018-05-17 07:38:30 -0700</bug_when>
    <thetext>Chrome, Firefox, and Edge draw underline on the right side of Japanese/Korean vertical text but Safari draws on the left side.

https://jsfiddle.net/vknh5ozr/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2005467</commentid>
    <comment_count>5</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-01-16 18:07:59 -0800</bug_when>
    <thetext>&lt;rdar://problem/121087588&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2047706</commentid>
    <comment_count>6</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-07-22 23:46:54 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 245559 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>