[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #8261(accepted charts)

Opened 2 years ago

Last modified 21 months ago

A row has zero height in table "Scripts, Languages, and Territories"

Reported by: rick Owned by: mark
Component: charts Data Locale:
Phase: final Review:
Weeks: Data Xpath:
Xref:

Description

(Filing on behalf of reporter.)

Date/Time: Thu Mar 12 06:10:33 CDT 2015
Contact: unicode@…
Name: Eric Bréchemier
Report Type: Problems / Feedback about website
Opt Subject: A row has zero height in table "Scripts, Languages, and Territories"

Hi,

While extracting information from the table "Scripts, Languages, and Territories" [1] with a script [2], I noticed an extra row, not displayed in the page: Afghanistan (AF) should span two languages, Pashto (ps) and Persian (fa).

The reason is that the following row, which has only cells with rowspan attributes, gets assigned a height of zero by the browser:

<tr>

<td rowspan="2" class="target">Persian</td>
<td rowspan="2" class="target">‫فارسی‬</td>
<td rowspan="2" class="target">fa</td>

</tr>

To avoid this error and get the expected display, the height of the row should be defined explicitly, e.g. in CSS:

.body tr {

height: 22px;

}

Note: I first reported this issue to Mozilla, who kindly provided technical details about the cause of this error, which can be found in the discussion [3].

Best regards,

Eric Bréchemier

--

[1] Scripts, Languages, and Territories
http://www.unicode.org/repos/cldr-aux/charts/27/supplemental/scripts_languages_and_territories.html

[2] ipcc-countries - script to extract CSV data from [1]
https://github.com/eric-brechemier/ipcc-countries/blob/master/sources/unicode.org/2014-scripts-languages-and-territories/step3/parse.xsl

[3] Bug 1136249 - A row (where all cells start, end or continue a rowspan) is missing from the layout of a complex table on Unicode website
https://bugzilla.mozilla.org/show_bug.cgi?id=1136249

Attachments

Change History

comment:1 Changed 2 years ago by emmons

  • Status changed from new to assigned
  • Component changed from unknown to charts
  • Priority changed from assess to medium
  • Phase changed from dsub to final
  • Milestone changed from UNSCH to 27
  • Owner changed from anybody to mark

comment:2 Changed 2 years ago by mark

  • Phase changed from final to rc
  • Milestone changed from 27 to 28

The fix should be to not generate a row without only cells of rowSpan > 1, but that will take some serious analysis to fix. So pushing to next release.

BTW, "While extracting information from the table "Scripts, Languages, and Territories" [1] with a script [2]" is a bad idea. The data should instead be extracted from the source XML file. Please communicate that to Eric Bréchemier

comment:3 Changed 2 years ago by markus

  • Type set to charts
  • Component changed from charts to unknown

comment:4 Changed 2 years ago by srl

  • Status changed from assigned to accepted

comment:5 Changed 2 years ago by emmons

  • Component changed from unknown to charts

comment:6 Changed 23 months ago by mark

  • Phase changed from rc to final

comment:7 Changed 22 months ago by mark

  • Milestone changed from 28 to 29

comment:8 Changed 21 months ago by emmons

  • Milestone changed from 29 to upcoming
View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.