[ 
https://issues.apache.org/jira/browse/MSKINS-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896406#comment-17896406
 ] 

Konrad Windszus edited comment on MSKINS-230 at 11/7/24 5:02 PM:
-----------------------------------------------------------------

Now default alignment of td and th differs. It is "centered" for th, but 
"left-aligned" for td (which is correct according to 
https://www.w3.org/MarkUp/html3-tables/alignment.html#:~:text=By%20default%2C%20data%20cells%20(TD,ALIGN).
 However as user of the Sink API I would expect that both use the same default 
alignment!  The javadoc in 
https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#tableRows-int:A-boolean-
 explicitly says

{quote}
If null a left alignment is assumed by default.
{quote}


was (Author: kwin):
Now default alignment of td and th differs. It is "centered" for th, but 
"left-aligned" for td. As user of the Sink API I would expect that both use the 
same default alignment!  The javadoc in 
https://maven.apache.org/doxia/doxia/doxia-sink-api/apidocs/org/apache/maven/doxia/sink/Sink.html#tableRows-int:A-boolean-
 explicitly says

{quote}
 If null a left alignment is assumed by default.
{quote}

> Text in <th>/<td> ignore default alignment
> ------------------------------------------
>
>                 Key: MSKINS-230
>                 URL: https://issues.apache.org/jira/browse/MSKINS-230
>             Project: Maven Skins
>          Issue Type: Bug
>          Components: Fluido Skin
>    Affects Versions: fluido-2.0.0-M6
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>            Priority: Major
>             Fix For: fluido-2.0.0-M7, fluido-1.12.0, fluido-2.0.0
>
>
> Table (header) cells lose default alignment because Bootstrap by default 
> enforces:
> {noformat}
> .table th,
> .table td {
>   padding: 8px;
>   line-height: 20px;
>   text-align: left;
>   vertical-align: top;
>   border-top: 1px solid #dddddd;
> } {noformat}
> We need to revert it and not enfore any alignment otherwise {{<th>}} elements 
> aren't centered anymore.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to