Difference between revisions of "Mozilla.dev.tech.layout - Friday October 13 2006"

From CDOT Wiki
Jump to: navigation, search
 
(Discussions)
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=Newsgroup summaries:mozilla.dev.tech.layout=
 
=Newsgroup summaries:mozilla.dev.tech.layout=
September 23-29, 2006
+
October 13-26, 2006
  
 
Go to [http://groups.google.com/group/mozilla.dev.tech.layout mozilla.dev.tech.layout] on google groups.
 
Go to [http://groups.google.com/group/mozilla.dev.tech.layout mozilla.dev.tech.layout] on google groups.
Line 12: Line 12:
 
=Discussions=
 
=Discussions=
  
*Discussion on how the Firefox 1.5.0.7 DOM generates XHTML inline elements using Wordpress. It was determined that the generated elements from Wordpress do not follow the WC3 guidelines in appendix C of XHTML 1.0. Although the W3 validation accepted the generated XHTML as valid, a bug identified within the HTML Working Group ignored the invalid elements. Details can be located at [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/42e27d7b95193c53/81c1636a55a31474#81c1636a55a31474 layout confusion]
+
* There was discussion about profiling the testcase for bug 352367 on the reflow branch.  This bug is Firefox renders large tables with forms MUCH slower than IE (100x slower)The writer was asking about trying to reduce the calls to various functions like nsRuleNode::GetStyleData and nsStyleContext::GetStyleData . Ultimately it was mentioned that GetWidthInfo() took about 20% of the load time [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/3efaffa2893333c4/4d088595f0df53a2#4d088595f0df53a2  Perf question (reflow branch)].
 
+
* In MSIE table captions are displayed at the same size as content. But in Firefox the text displays at browser default, It also exceeds the width of the table and the excess is hidden if the table is enclosed in a bounding divThe writer wants to know if Is there any way of applying a font-size to firefox table caption text while keeping the correct display in other browsers. In addition is it possible for preventing the caption width from exceeding the tables'width [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/f7872557085da571/6c3550647c850aa0#6c3550647c850aa0 firefox table captions].
*Refactoring the nsHTMLReflowState(ComputeBlockBoxData, InitConstraints) and nsImageFrame::GetDesiredSize which uses NS_INRINSICSIZE, into the following method:
+
* Can the Gecko engine be used to get the width information of some HTML elements (such as table,tr,td) [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/12cce877ec767ac0/1bc65afbdf4df6b1#1bc65afbdf4df6b1 Help for getting HTML element width info].
 
+
* There was a discussion about interfaces allowing multiple presshells.  The writer is for the idea and believes this issue should be cleared up [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/962e3dd005e41bb7/198207d527ff7b4a#198207d527ff7b4a Multiple presshells].
<pre>
+
*  The writer is seeking instructions on how to fix the table border color quirk that makes the border color dependent on the background. The quirk is a pure NN4.6 quirk[http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/a09888064bc1eaf1/0f6cb460af73c8bf#0f6cb460af73c8bf Removal of the NN4.6 table border color quirk].  
/**
+
* The writer is trying to convert nsHTMLReflowState into a base class [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/834413484e3a9c6c/b79dcb6c19c4174c#b79dcb6c19c4174c pulling part of nsHTMLReflowState into a base class].
  * Compute the size that a frame will occupyCalled while
+
* A few changes have been made to the reflow branch [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/57efcb49c4ba32fc/240f08f41872eff7#240f08f41872eff7 reflow branch status].  
  * constructing the nsHTMLReflowState to be used to Reflow the frame,
+
* There was a discussion  on CSS layout behavior which was about faux columns with a mix of undefined and fix width columns [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/9f2644e5325f1fdd/33f85b837ea56bd5#33f85b837ea56bd5 faux columns with a mix of undefined and fix width columns].
  * in order to fill its mComputedWidth and mComputedHeight member
+
* There was a question on what modifications should be done to deactivate a ComboBox from Mozilla [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/edf3f8d7f937c4fd/77f727bf5bb6ff9b#77f727bf5bb6ff9b ComboBox in Mozilla].
  * variables.  
 
  *
 
  * The |height| member of the return value may be
 
  * NS_UNCONSTRAINEDSIZE, but the |width| member must not be.  
 
  *  
 
  * @param aAvailWidth  The available width into which the element is
 
  *                    being placed (i.e., the width of its containing
 
  *                     block).  
 
  * @param aMargin The sum of the left and right margins of the
 
  *                frame, including actual values resulting from
 
  *                percentages, but not including actual values
 
  *                resulting from 'auto'.  
 
  * @param aBorder The sum of the left and right border widths of the  
 
  *                frame.  
 
  * @param aPadding  The sum of the left and right margins of the
 
  *                  frame, including actual values resulting from
 
  *                  percentages.  
 
  * @param aShrinkWrap  Whether the frame is in a context where
 
  *                    non-replaced blocks should shrink-wrap (e.g.,
 
  *                    it's floating, absolutely positioned, or
 
  *                    inline-block).  
 
  */  
 
  virtual nsSize ComputeSize(nscoord aAvailWidth, nscoord aMargin,
 
                            nscoord aBorder, nscoord aPadding,
 
                            PRBool aShrinkWrap) = 0;
 
</pre>
 
 
 
:Details can be located at refactoring some of [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/9bbd4ceea2b72d17/aa3c40d434499e2b#aa3c40d434499e2b nsHTMLReflowState].
 
 
 
*Discussion on how to determine whether there is pending layout changes or reflows when using a popup. It was concluded that a frame model change is utilized within a popup, not a layout change. On the reflow branch, check the DIRTY and DIRTY_CHILDREN framestate flags. That won't help with pending style changes, but it'll work to detect cases when the popup or something in it needs to be reflown. Details can be located at [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/dd6f6a3d6c8b1bad/f49d3694aa682f69#f49d3694aa682f69 frame reflow]
 
 
 
*Issues related to the ongoing implementation of MathML-in-HTML into Mozilla, which include:
 
 
 
:*Exposing the MathML implementation to tag soup.
 
:*CSS Matching rules.
 
 
 
:Details can be located at [http://groups.google.com/group/mozilla.dev.tech.layout/browse_thread/thread/f05a4077a9eac39f/94d10105c7f627d7#94d10105c7f627d7 MathML-in-HTML5]
 
  
 
=Meetings=
 
=Meetings=
  
 
No meetings for this week.
 
No meetings for this week.

Latest revision as of 10:49, 2 November 2006

Newsgroup summaries:mozilla.dev.tech.layout

October 13-26, 2006

Go to mozilla.dev.tech.layout on google groups.

Go to mozilla.dev.tech.layout on this wiki.

Announcements

No announcements for this week.

Discussions

  • There was discussion about profiling the testcase for bug 352367 on the reflow branch. This bug is Firefox renders large tables with forms MUCH slower than IE (100x slower)The writer was asking about trying to reduce the calls to various functions like nsRuleNode::GetStyleData and nsStyleContext::GetStyleData . Ultimately it was mentioned that GetWidthInfo() took about 20% of the load time Perf question (reflow branch).
  • In MSIE table captions are displayed at the same size as content. But in Firefox the text displays at browser default, It also exceeds the width of the table and the excess is hidden if the table is enclosed in a bounding div. The writer wants to know if Is there any way of applying a font-size to firefox table caption text while keeping the correct display in other browsers. In addition is it possible for preventing the caption width from exceeding the tables'width firefox table captions.
  • Can the Gecko engine be used to get the width information of some HTML elements (such as table,tr,td) Help for getting HTML element width info.
  • There was a discussion about interfaces allowing multiple presshells. The writer is for the idea and believes this issue should be cleared up Multiple presshells.
  • The writer is seeking instructions on how to fix the table border color quirk that makes the border color dependent on the background. The quirk is a pure NN4.6 quirkRemoval of the NN4.6 table border color quirk.
  • The writer is trying to convert nsHTMLReflowState into a base class pulling part of nsHTMLReflowState into a base class.
  • A few changes have been made to the reflow branch reflow branch status.
  • There was a discussion on CSS layout behavior which was about faux columns with a mix of undefined and fix width columns faux columns with a mix of undefined and fix width columns.
  • There was a question on what modifications should be done to deactivate a ComboBox from Mozilla ComboBox in Mozilla.

Meetings

No meetings for this week.