// 1. Set width to the result of invoking the rules for parsing integers on tokenizedFeatures["width"].
// 2. If width is an error, set width to 0.
width=parse_integer(*width_token).value_or(0);
// 3. If width is not 0:
if(width!=0){
// 1. Optionally, clamp width in a user-agent-defined manner so that the window does not get too small or bigger than the Web-exposed available screen area.
width=clamp(*width,100,screen_rect.width());
// 2. Optionally, size target’s window by moving its right edge such that the distance between the left and right edges of the viewport are width CSS pixels of target.
// 3. Optionally, move target’s window in a user-agent-defined manner so that it does not grow outside the Web-exposed available screen area.
// Note: Handled in the UI process when creating the traversable navigable.
// 1. Set height to the result of invoking the rules for parsing integers on tokenizedFeatures["height"].
// 2. If height is an error, set height to 0.
height=parse_integer(*height_token).value_or(0);
// 3. If height is not 0:
if(height!=0){
// 1. Optionally, clamp height in a user-agent-defined manner so that the window does not get too small or bigger than the Web-exposed available screen area.
height=clamp(*height,100,screen_rect.height());
// 2. Optionally, size target’s window by moving its bottom edge such that the distance between the top and bottom edges of the viewport are height CSS pixels of target.
// 3. Optionally, move target’s window in a user-agent-defined manner so that it does not grow outside the Web-exposed available screen area.
// Note: Handled in the UI process when creating the traversable navigable.