Re: RC1 : 1st preliminary review report: table-anonymous-objects-0xx

> On 9/24/10 4:59 PM, "Gérard Talbot" wrote:
>> 14- (Boris Zbarsky) A few table-anonymous-objects-0xx testcases use


>> - Inline style is formally discouraged:
> Yes, I know.  Rewriting these test to not use inline style would
actually make them significantly less readable.

It's helpful to people trying to understand the test if you use
meaningful class and ID names

> If someone does want to
> do that, for some reason, feel free.

>From your

<div style="position: relative; font-size: 2em;">
<div style="position: relative; z-index: 1; color: red; padding: 1px;">

  <span style="display: block">
    <span style="display: table-cell">a</span>
    <span style="display: table-cell; white-space: pre"> </span>
    <span style="display: table-cell;" id="t">bc</span>

    <span style="display: table-cell; white-space: pre"> </span>
    <span style="display: table-cell">d</span>
<div style="position: absolute; z-index: 2; top: 0; color: green;
padding: 1px;">

    a bc d

could become

  <div id="rel-pos-wrapper">
    <div id="rel-pos-red-overlapped">

      <span id="enclosing-block">
        <span class="table-cell">a</span>
        <span class="preserve-spaces"> </span>
        <span class="table-cell" id="test">bc</span>

        <span class="preserve-spaces"> </span>
        <span class="table-cell">d</span>

    <div id="abs-pos-green-overlapping">

    a bc d

Uploaded example:

Consider this as a suggestion.

regards, Gérard
Contributions to the CSS 2.1 test suite:

CSS 2.1 test suite (RC1; September 17th 2010):

CSS 2.1 test suite contributors:

Received on Saturday, 25 September 2010 20:42:28 UTC