QDoc: Use CSS for table width instead of deprecated HTML attribute


The \table command's width percentage argument generates a
deprecated HTML width attribute on the <table> element [0].
Modern HTML expects width to be set through CSS instead.

The HTML generator now emits style="width: X" rather than
width="X". The template generator's ContentBuilder extracts the
width from atom arguments and stores it in the IR, where
templates render it as an inline CSS style. The QDoc manual
example is corrected from \table 100 % to \table 100%.

[0] - https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/table#width

Fixes: QTBUG-119307
Pick-to: 6.11
Change-Id: If295888780cf14376417b5e71b35d1fa1d6891af
Reviewed-by: Topi Reinio <topi.reinio@qt.io>
commit4303716f7c2110c7c879166ab894308a2ea6bef3
parent773ae70475c1af292c5936976d57a3de9d335889
authorPaul Wicking <paul.wicking@qt.io>
committerPaul Wicking <paul.wicking@qt.io>
commit timeTue, 24 Mar 2026 17:52:06 +0100