This time is the record for updating again the first issue on line number, because the team official think my solution is not good enough and provide other solution here.

The idea here is basically following the steps here:

Let me try to follow the step here. Not sure whether the steps work for the dom.

Commit message

Based on the issue #38167 and PR #38304 description has following changes :

1. Update the servoparser html.rs get_current_line() function to obtain current_line from sink
2. Update mod.rs `get_parser_current_line()` to pass the parser line number to document
3. Add the line_number argument to `should_elements_inline_type_behavior_be_blocked` 
4. In components/script/dom, update element.rs and htmlstyleelement.rs with doc.get_current_parser_line and two other files with line_number attached using existing local values. 

Testing:
`./mach test-wpt content-security-policy/securitypolicyviolation/blockeduri-inline.html`
The line number correctly pass the value, the column number part is not implemented.

Please remember to sign-off in such case