This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
CSS errors and warnings that are triggered from inline CSS styles (i.e. defined in style attributes) contain the line of the style within the containing XHTML page. The line is returned by the XML parser and set in CssResourceExtractor.extractInlineCSS. The line number is usually more than what it should be. See for instance the warning returned in the moki document of the MEASURES 3 test in the test suite.
The preservation of line numbers in the DOM tree for Bug 9583 fixes this bug as well. Line numbers are correctly returned. I removed column numbers (which were always 0)