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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27673</bug_id>
          
          <creation_ts>2014-12-19 09:02:45 +0000</creation_ts>
          <short_desc>margins in this section need LTR-specific note added. margin-top/bottom might also not be correct for vertical. See https://github.com/domenic/html-as-custom-elements/issues/40</short_desc>
          <delta_ts>2016-05-09 20:46:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#flow-content-3</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>d</cc>
    
    <cc>fantasai.bugs</cc>
    
    <cc>jackalmage</cc>
    
    <cc>mike</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      <flag name="needinfo"
          id="125"
          type_id="3"
          status="?"
          setter="annevk"
          requestee="fantasai.bugs"
    />

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116547</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-12-19 09:02:45 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/rendering.html
Multipage: https://html.spec.whatwg.org/multipage/#flow-content-3
Complete: https://html.spec.whatwg.org/#flow-content-3
Referrer: https://github.com/domenic/html-as-custom-elements/issues/40

Comment:
margins in this section need LTR-specific note added. margin-top/bottom might
also not be correct for vertical. See
https://github.com/domenic/html-as-custom-elements/issues/40

Posted from: 94.211.118.197 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:37.0) Gecko/20100101 Firefox/37.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125580</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-22 09:29:31 +0000</bug_when>
    <thetext>Domenic, I&apos;m not actually sure how to change the styles for blockquote here given that it already has both left and right margins defined. Flipping those for RTL wouldn&apos;t do anything.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125590</commentid>
    <comment_count>2</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-03-22 14:11:53 +0000</bug_when>
    <thetext>I think you&apos;re right that flipping them wouldn&apos;t do anything. There&apos;s still a mismatch with Blink and WebKit at least, which use the logical-direction versions of the properties anyway:

- https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/css/html.css&amp;q=html.css&amp;sq=package:chromium&amp;type=cs&amp;l=94
- https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/css/html.css&amp;q=html.css&amp;sq=package:chromium&amp;type=cs&amp;l=94
- https://code.google.com/p/chromium/codesearch#chromium/src/third_party/WebKit/Source/core/css/html.css&amp;q=html.css&amp;sq=package:chromium&amp;type=cs&amp;l=939

The note about &quot;margin-top/bottom might also not be correct&quot; probably refers to how Blink uses the &quot;__qem&quot; unit which I&apos;m told has something to do with margin collapsing.

Hmm, but maybe this isn&apos;t about RTL, but about writing-mode: vertical? That is, maybe in vertical writing mode, blockquote and friends have their 40px margin at the top and bottom instead of left and right? That should be pretty easy to test. In which case the solution is to switch to https://drafts.csswg.org/css-logical-props/ probably?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125591</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-22 14:27:57 +0000</bug_when>
    <thetext>Hey fantasai, we&apos;d like to know how stable logical properties are. The idea would be to use them in the HTML Standard&apos;s Rendering section to describe various elements whose rendering is currently not well adjusted to RTL or vertical scenarios.

(If it&apos;s stable we might also need your help making/reviewing these changes.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125708</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-04-04 11:52:51 +0000</bug_when>
    <thetext>__qem is for https://html.spec.whatwg.org/multipage/rendering.html#margin-collapsing-quirks (however the spec more closely matches Gecko which doesn&apos;t have a special unit for this).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126394</commentid>
    <comment_count>5</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-05-09 20:46:59 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/1221</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>