Skip to content

Fix calculation of final-layer - #210

Merged
annevk merged 1 commit into
whatwg:mainfrom
jyavenard:b/208
Mar 12, 2026
Merged

Fix calculation of final-layer#210
annevk merged 1 commit into
whatwg:mainfrom
jyavenard:b/208

Conversation

@jyavenard

@jyavenard jyavenard commented Mar 12, 2026

Copy link
Copy Markdown
Member

Fix calculation of final-layer
According to ISO/IEC 11172-3 2.4.2.3 the valid values for layer are:
layer I: '11': 3
layer II: '10' : 2
layer III: '01' : 1
So 4-value is we want to get after mask operand and bit shifting.

According to ISO/IEC 11172-3 2.4.2.3 the valid values for layer are:
layer I: '11': 3
layer II: '10' : 2
layer III: '01' : 1
So 4-value is we want to get after mask operand and bit shifting.

Fixes whatwg#208
@padenot

padenot commented Mar 12, 2026

Copy link
Copy Markdown
Collaborator

Looking good, thanks!

@annevk
annevk merged commit 8857035 into whatwg:main Mar 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants